<? session_start(); ?>
<html>

<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" >
	<title>Credits</title>
	<link rel="shortcut icon" href="{Favicon}">
	<link rel="stylesheet" type="text/css" href="CSS/style.css">
</head>

<body>
	<div id="header">
	<h1><strong>This Android Website of Testing Stuff</strong></h1>
		<?
	if($_SESSION['loggedIn'] == true) { ?>	

		<div class="usermenu">
			<br>
			<br>
			<a href="/usersettings.php">User Settings</a>
			<br>
			<a href="/logout.php">Logout</a>
		</div>
		

		<div id="user">
	<? echo''.$_SESSION['username'].''; ?>
		</div>
	<? } ?>
	</div>

	<div id="bottomcurve">
	</div>

	<div class="menubar">

		<div class="empty">
		<a href="index.php">
		<img src="empty.gif">
		</a>
		</div>

		<div class="menuhome">
		Home
		</div>	

		<? if ($_SESSION['loggedIn'] == true){ ?>

			<div class="empty2">
				<a href="speedpage.php">
				<img src="empty.gif">
				</a>
			</div>

			<div class="menulogin">
				Speed
			</div>
			
<? }else{ ?> 
			<div class="empty2">
				<a href="login.php">
				<img src="empty.gif">
				</a>
			</div>

			<div class="menulogin">
				Login
			</div>
		<? }?>	

		<div class="empty3">
		<a href="register.php">
		<img src="empty.gif">
		</a>
		</div>

		<div class="menuregister">
		Register
		</div>

		<div class="empty4">
		<a href="credits.php">
		<img src="empty.gif">
		</a>
		</div>

		<div class="menucredits">
		Credits
		</div>
	</div>
	<div id="about">
		<strong>A few words of thanks<br></strong>
		This being one of my very first projects where I've involved
		other people, though it is still very much in its early stages, requires
		many thanks to all of the people involved, Samm for all of his magical HTML5 stuff
		and shiny CSS, and thanks to Terry, for his bad grammar.
		more here later.
	</div>
</body>

</html>